package com.sosmcc.service;

/**
 * Created with IntelliJ IDEA.
 *
 * @User: c.c
 * @Date: 2022/6/17
 * @Time: 9:30
 * @Description:
 */

import com.sosmcc.common.OrderService;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * @DubboService 是新版Dubbo的注解，如果是旧版比如2.7.3，使用的是org.apache.dubbo.config.annotation.Service这个注解
 */
@DubboService
public class SayHelloService implements OrderService {

  public String sayhello(String s, Integer integer) {
    return s+integer;
  }
}
